package com.main.common.interfaces;

import com.main.common.configs.ContextPathConfig;
import com.main.common.configs.GatewayFilterConfig;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 网关过滤注解
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Import({GatewayFilterConfig.class, ContextPathConfig.class})
@Inherited
public @interface GatewayPermission {
}